<?php 
	$details = $this->requestAction('job_details/required');
	//debug($details);
?>
<?php echo $this->Form->create('JobDetail',array('controller' => 'job_details', 'action' => 'search'));?>
<div class="widget_03">
    <div class="headerbox"><a href="#" class="search"><?php __('Search Your Job');?></a></div>
        <div class="content" align="center">	
	        <p><?php echo $this->Form->input('JobProvider.job_location_id', array('empty' => true, 'label' => false, 'id' => 'cname', 'options' => $details['jobLocations'], 'default' => 'Location'), 'Select');?></p>
            <p><?php echo $this->Form->input('JobDetail.salary', array('help' => 'Minimum Salary', 'label' => false, 'id' => 'cname'));?></p>
            <p><?php echo $this->Form->input('JobDetail.category_id', array( 'empty' => true , 'label' => false, 'id' => 'cname', 'options' => $details['jobCategories'], 'default' => 'Category'));?></p>                            
            <?php echo $this->Form->end(array('id' => 'searchSubmit'));?>
         </div>
</div> 